package com.emergency.db.service.staff;

import com.emergency.db.domain.staff.StaffDetail;
import org.springframework.data.domain.Page;

import java.util.Map;

public interface StaffDetailService {
    void save(StaffDetail staffDetail);

    StaffDetail findByStaff(Long id);

    void delete(Long id);

    Page<StaffDetail> findList(Map searchMap, int page, int size);
}
